package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 领导干部家庭主要成员及主要社会关系
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_MEMBER_RELATION")
public class IgMemberRelation extends Model<IgMemberRelation> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("MEMBER_RELATION_ID")
    private String memberRelationId;

    /**
     * 人员ID
     */
    @TableField("EMP_ID")
    private String empId;

    /**
     * 成员姓名
     */
    @TableField("MEMBER_NAME")
    private String memberName;

    /**
     * 工作单位及职务
     */
    @TableField("MEMBER_COMPANY")
    private String memberCompany;

    /**
     * 与本人关系
     */
    @TableField("RELATION")
    private String relation;

    /**
     * 家庭住址
     */
    @TableField("MEMBER_ADDRESS")
    private String memberAddress;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;

    /**
     * 修改人
     */
    @TableField("EDIT_OP")
    private String editOp;

    /**
     * 修改时间
     */
    @TableField("EDIT_DATE")
    private LocalDateTime editDate;

    @TableField("MEMBER_POST")
    private String memberPost;

    @TableField("POLITIC_COUNTENANCE")
    private String politicCountenance;


    public String getMemberRelationId() {
        return memberRelationId;
    }

    public IgMemberRelation setMemberRelationId(String memberRelationId) {
        this.memberRelationId = memberRelationId;
        return this;
    }

    public String getEmpId() {
        return empId;
    }

    public IgMemberRelation setEmpId(String empId) {
        this.empId = empId;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public IgMemberRelation setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }

    public String getMemberCompany() {
        return memberCompany;
    }

    public IgMemberRelation setMemberCompany(String memberCompany) {
        this.memberCompany = memberCompany;
        return this;
    }

    public String getRelation() {
        return relation;
    }

    public IgMemberRelation setRelation(String relation) {
        this.relation = relation;
        return this;
    }

    public String getMemberAddress() {
        return memberAddress;
    }

    public IgMemberRelation setMemberAddress(String memberAddress) {
        this.memberAddress = memberAddress;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgMemberRelation setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgMemberRelation setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getEditOp() {
        return editOp;
    }

    public IgMemberRelation setEditOp(String editOp) {
        this.editOp = editOp;
        return this;
    }

    public LocalDateTime getEditDate() {
        return editDate;
    }

    public IgMemberRelation setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
        return this;
    }

    public String getMemberPost() {
        return memberPost;
    }

    public IgMemberRelation setMemberPost(String memberPost) {
        this.memberPost = memberPost;
        return this;
    }

    public String getPoliticCountenance() {
        return politicCountenance;
    }

    public IgMemberRelation setPoliticCountenance(String politicCountenance) {
        this.politicCountenance = politicCountenance;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.memberRelationId;
    }

    @Override
    public String toString() {
        return "IgMemberRelation{" +
        "memberRelationId=" + memberRelationId +
        ", empId=" + empId +
        ", memberName=" + memberName +
        ", memberCompany=" + memberCompany +
        ", relation=" + relation +
        ", memberAddress=" + memberAddress +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        ", editOp=" + editOp +
        ", editDate=" + editDate +
        ", memberPost=" + memberPost +
        ", politicCountenance=" + politicCountenance +
        "}";
    }
}
